package com.qqls.youxiangousys.pj.sys.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
//公告
@Data
@NoArgsConstructor//无参
@AllArgsConstructor//有参
public class SysNotice implements Serializable {
    private Integer id;
    private String noticeContent;//内容
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date noticeTime;//公告时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createdTime;//创建时间
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    private Date modifiedTime;//修改时间
    private String createdUser;//创建用户
    private String modifiedUser;//修改用户
    private Integer noticeState=1;//状态
}
